// 金额三位间隔 huangxs
let interval = (key) => {
    key += '';
    let x = key.split('.');
    let x1 = x[0];
    let x2 = x.length > 1 ? '.' + x[1] : '';
    let reg = /(\d+)(\d{3})/;
    while (reg.test(x1)) {
      x1 = x1.replace(reg, '$1' + ',' + '$2');
      // x2 = x2.replace(reg, '$1' + ',' + '$2');
    }
    return x1 + x2;
  }
  //人民币大写，这种写法也没问题
 function get_je_big(je){
    return "人民币大写"
  }


export {interval,get_je_big}

//import { get_je_big } from "@/uitils/Utils.js";外部定义